package com.xueyi.system.BaseRegulation.service.impl;

import com.xueyi.system.BaseRegulation.domain.query.BaseRegulationQuery;
import com.xueyi.system.BaseRegulation.domain.dto.BaseRegulationDto;
import com.xueyi.system.BaseRegulation.service.IBaseRegulationService;
import com.xueyi.system.BaseRegulation.manager.IBaseRegulationManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 种植技术规程管理 服务层处理
 *
 * @author xueyi
 */
@Service
public class BaseRegulationServiceImpl extends BaseServiceImpl<BaseRegulationQuery, BaseRegulationDto, IBaseRegulationManager> implements IBaseRegulationService {

    /**
     * 查询种植技术规程对象列表 | 数据权限 | 附加数据
     *
     * @param baseRegulation 种植技术规程对象
     * @return 种植技术规程对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"BaseRegulationMapper"})
    public List<BaseRegulationDto> selectListScope(BaseRegulationQuery baseRegulation) {
        return baseManager.selectListExtra(baseRegulation);
    }

}